home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / csource5 / 376_01 / os2tool.000 / DIRS.TXT < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.5 KB  |  37 lines

  1.                                               DIRS [DUAL MODE]
  2.      
  3.      NAME DIRS  - Show the contents of the drive and directory
  4.      stack.
  5.      
  6.      SYNTAX
  7.      
  8.      dirs [-q|/q]
  9.      
  10.      USAGE
  11.      
  12.      With pushd  you can  push the current drive and directory
  13.      onto directory  stack. You  can then  move freely between
  14.      directories.  Popd   will  restore   the  top  drive  and
  15.      directory from  the stack.  With the dirs command you can
  16.      see what  entries are in the stack. The stack will always
  17.      contain the  entry "." - that is the current directory as
  18.      the last  element. Each  session has  separate stack. You
  19.      can only retrieve drive and directroy combinations, which
  20.      have been pushed in this session.
  21.      
  22.      All three  commands use  a server  to maintain the stack.
  23.      This server  is dirserv.exe. You can start it manually in
  24.      a separate session or detach it, so that it belongs to no
  25.      screen  group.  Nevertheless  all  three  commands  start
  26.      dirserv  automatically,   if  it  has  not  been  started
  27.      previously. You can use the -Q (or /Q) option to stop the
  28.      directory stack  server. This is needed especially if the
  29.      server is  detached. Under  DOS the  drive and  directory
  30.      information is  stored in  a file.  The default  for this
  31.      file is  c:\dirserv.dat. You  can change  it however with
  32.      the DIRSERV-enviroment variable.
  33.      
  34.      
  35.      SEE ALSO
  36.      pushdir, popdir, dirserv
  37.